import request from "@/network/request"

export function getArticleList(data, params) {
  return request({
    url: '/blog/article/list',
    method: 'post',
    data,
    params
  })
}

export function getArticleAllTypeList() {
  return request({
    url: '/blog/type/getAllTypeList',
    method: 'post'
  })
}

export function getArticle(params) {
  return request({
    url: '/blog/article/get',
    method: 'get',
    params
  })
}